package com.nit.dto.utils;

public class PaginationDTO {
    private Integer pageSize;
    private Long total;
    private Integer currentPage;
    private String search;

    public PaginationDTO() {
    }

    public PaginationDTO(Long total) {
        this.total = total;
    }

    public PaginationDTO(Integer pageSize, Long total, Integer currentPage, String search) {
        this.pageSize = pageSize;
        this.total = total;
        this.currentPage = currentPage;
        this.search = search;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public String getSearch() {
        return search;
    }

    public void setSearch(String search) {
        this.search = search;
    }
}
